package org.yenn.pattern.adapter.impl;

import org.yenn.pattern.adapter.GBTwoPlug;
import org.yenn.pattern.adapter.ThreePlugIf;

/*
 * 采用继承方式的插座适配器
 */
public class TwoPlugAdapterExtends extends GBTwoPlug implements ThreePlugIf {

	@Override
	public void powerWithThree() {
		System.out.print("借助继承适配器-----");
		this.powerWithTwo();

	}

}
